CS 787 : Advanced Algorithms Greed
نویسنده
چکیده
An algorithm that uses the greedy method attempts to construct an optimal (compound) solution to a problem by optimally constructing components one by one. In general, building up locally optimal components may not yield a globally optimal overall solution, but a greedy algorithm will give an optimal result if these two coincide. There are two main issues that arise when applying the greedy approach. First, in developing a greedy algorithm, the order in which we consider components of the problem is crucial. Second, we must also ensure the correctness of our greedy approach, i.e. we must prove that the greedy solution is an optimal one. We will discuss two different methods of proof that achieve these objectives.
منابع مشابه
CS 787 : Advanced Algorithms Flows and Cuts
This lecture covers the construction of optimal flows and cuts in networks, their relationship, and some applications. It paves the way to our subsequent treatment of linear programming. The network flow and cut algorithms do not follow any of the paradigms we discussed so far, not do they represent a paradigm of their own. The applications we will present illustrate the paradigm of efficient r...
متن کاملCS 787 : Advanced Algorithms Linear Programming
Instructor: Dieter van Melkebeek This lecture covers the notion of a linear program, its dual, and the relationship between the two. We give some examples and survey known algorithms. A linear program (LP) is the problem of optimizing (maximizing or minimizing) a linear multivariate objective function over the reals under linear equality and inequality (≤) constraints.
متن کاملCS 787 : Advanced Algorithms Scribe :
In this course we will study techniques for designing and analyzing algorithms. Undergraduate algorithms courses typically cover techniques for designing exact, efficient (polynomial time) algorithms. The focus of this course is different. We will consider problems for which polynomial time exact algorithms are not known, problems under stringent resource constraints, as well as problems for wh...
متن کاملCS 787 : Advanced Algorithms LP - Based Approximations
We present methods for constructing approximation algorithms to NP-hard optimization problems using linear programming (LP). We typically obtain an LP relaxation of the problem by formulating it as an integer linear program and dropping the integrality constraints. We then solve the LP relaxation exactly, and apply various rounding strategies (including randomized rounding and iterative roundin...
متن کاملCS 787 : Advanced Algorithms
For this lecture, consider a graph G = (V,E), with n = |V | and m = |E|. Let du denote the degree of vertex u. Recall some of the quantities we were interested in from last time: Definition 28.1.1 The transition matrix is a matrix P such that Puv denotes the probability of moving from u to v: Puv = Pr[random walk moves from u to v given it is at u]. Definition 28.1.2 Stationary Distribution for...
متن کامل